{% extends "base.html" %}
{% load i18n %}
{% block content %}
<div id="browse">
	
	<div id="show-activity">
		<h1>{{curricular_grade}}</h1>
		{% for class in curricular_grade.subjectclass_set.all %}
			<h2>{{class}}</h2>
			{% for subject in class.subject_set.all %}
				<h4><strong>{{subject}}</strong></h4>
				<ul>
				{% for activity in subject.activity_set.all %}
					<li><a href="{% url activity_details activity.id %}">{{activity}} - {{activity.description}}</a></li>
				{% endfor %}
				</ul>
			{% endfor %}
		{% endfor %}
	</div>
</div>

{% endblock %}